<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html; charset=utf-8" %>
<%@include file="/quick/include/common.jsp"%>
<title><c:out value="${model.graduateYear}"/>届毕业审核</title>
<br><br>
<font color=red>
<div>
<ul>
<li>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1.毕业审核对象为浙江学院<c:out value="${model.graduateYear}"/>届本科毕业生
</li>
<li>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
2."批量审核"操作将导入<c:out value="${model.graduateYear}"/>毕业的在校本科生,并根据相关审核条件进行学位、毕业、结业、肄业方面的审核<br>
</li>
<li>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
3."批量审核"操作对每一届毕业生应该只做一次,如果多次进行,每次操作都会清除原毕业审核结果(包括手工审核结果),所以请慎重操作
</li>
</ul>
</div>
</font>
<br>

<div align='center'>
<input type=button value="批量审核" onclick="f_batchCheck()">
</div>
<br>
<c:if test="${model.checkedStudents!=\"0\"}" >
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<font size=5>
注意:<c:out value="${model.graduateYear}"/>届毕业生已有<b>【<c:out value="${model.checkedStudents}"/>】</b>条审核结果数据
</font>
</c:if>

<script>
function f_batchCheck(){
  var info="注意:<c:out value="${model.graduateYear}"/>届毕业生已有【<c:out value="${model.checkedStudents}"/>】条审核结果数据,\n"+
           "批量审核将清除原毕业审核结果,\n确认操作吗?";
  if(confirm(info)==false) return;
  Ext.get(document.body).mask("正在审核……");
  Ext.Ajax.request({
	  method:'POST',
	  url:g_rootPath+"ajax/educational/graduateCheck.html?graduateYear="+<c:out value="${model.graduateYear}"/>,
	  success:function(response){
	    Ext.get(document.body).unmask();
        var resp=Ext.decode(response.responseText);
		if(resp.success){
		  Ext.Msg.alert("审核结果",resp.info,function(){
            location=g_rootPath+"educational/graduate/check/batch.html";
          });
		}else{
		  Ext.Msg.alert("审核结果",resp.errorInfo);
		}
					                         
	  },
	  failure:function(response){
		Ext.get(document.body).unmask();
        Ext.Msg.alert("审核结果","批量审核失败");
	  },
	  params:{}
 });	  
  
}
</script>


